package cn.bearspark.common.enumeration;

import lombok.Getter;

/**
 * jwt 令牌中保存的键值对的键的枚举类
 *
 * @author f
 */
public enum JwtClaimsKeyEnum {
    USER_ID("id", "用户 id");

    /**
     * 键的名称
     */
    @Getter
    private final String key;

    /**
     * 解释
     */
    private final String desc;

    JwtClaimsKeyEnum(String key, String desc) {
        this.key = key;
        this.desc = desc;
    }
}
